package com.education.model.subproject;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.education.model.entity.BaseEntity;
import com.education.model.entity.TestPaperInfo;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;
import java.util.List;


@TableName("exam_task")
public class ExamTask  extends BaseEntity<ExamTask>{

    private String name;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:SS")
    private Date startTime;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date endTime;

    private String text;

    private  Integer  adminId;
    private Integer examRoomId;
    private Integer statu;
    private List<TestPaperInfo> testPaperInfoList;

    public Integer getAdminId() {
        return adminId;
    }

    public void setAdminId(Integer adminId) {
        this.adminId = adminId;
    }

    public Integer getExamRoomId() {
        return examRoomId;
    }

    public void setExamRoomId(Integer examRoomId) {
        this.examRoomId = examRoomId;
    }



    public List<TestPaperInfo> getTestPaperInfoList() {
        return testPaperInfoList;
    }

    public void setTestPaperInfoList(List<TestPaperInfo> testPaperInfoList) {
        this.testPaperInfoList = testPaperInfoList;
    }





    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Date getStartTime() {
        return startTime;
    }

    public void setStartTime(Date startTime) {
        this.startTime = startTime;
    }

    public Date getEndTime() {
        return endTime;
    }

    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }


    public String getText() {
        return text;
    }

    public void setText(String text) {
        this.text = text;
    }

    public Integer getStatu() {
        return statu;
    }

    public void setStatu(Integer statu) {
        this.statu = statu;
    }
}
